gtk-demo: Improve flowbox demo code
authorBenjamin Otte <otte@redhat.com>
Fri, 3 Oct 2014 04:45:38 +0000 (06:45 +0200)
committerBenjamin Otte <otte@redhat.com>
Fri, 3 Oct 2014 04:45:38 +0000 (06:45 +0200)
commit23a4affb6f158275cdd5e8e824240f6a5c4190a9
tree684fcce978bd62fbb1adc702bad0f0728ace31e3
parent40e09737090b1437474bb479709b95c79c45d4ac
gtk-demo: Improve flowbox demo code

Overriding the background color for a color swatch is wrong. The color
is not the background, it's the foreground, so it should be painted in
a draw signal handler.
demos/gtk-demo/flowbox.c